package com.holly.unit.deform.modular.pojo;

import com.holly.unit.core.pojo.request.BaseRequest;
import com.holly.unit.scanner.api.annotation.field.ChineseDescription;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;

/**
 * 类描述: 表单数据删除请求封装
 *
 * @author fxr
 * @version 1.0.0
 * @date 2022/4/11 10:11
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class DesignFormDataDelRequest extends BaseRequest {

    /***
     * 主键id
     */
    @NotNull(message = "表单id不能为空", groups = {delete.class})
    @ChineseDescription("表单id")
    private String id;

    @NotNull(message = "表单ids不能为空", groups = {batchDelete.class})
    @ChineseDescription("表单ids")
    private String ids;

}
